
all: cli-exe serv-exe dns-exe

cli-exe: client/* networklib/* shared/*
	g++ -g -o cli-exe client/*.cpp networklib/*.cpp shared/*.cpp shared/*.c -lpthread

serv-exe: server/* networklib/* shared/*
	g++ -g -o serv-exe server/*.cpp networklib/*.cpp shared/*.cpp shared/*.c -lpthread

dns-exe: dnsserver/*
	gcc -o dnsserver/dns-exe dnsserver/*.c -lpthread